package com.sheep.classroompie.repository;


import com.sheep.classroompie.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TeacherRepository {
  //老师登录
  public Teacher login(Teacher teacher);
  //老师注册
  public Integer register(Teacher teacher);
  //上传头像
  Boolean uploadAvatar(Teacher teacher);
  //下载头像
  Boolean downloadAvatar(Teacher teacher);
  //修改密码
  void changePassword(Teacher teacher);
}
